WhatsApp Status Downloader Pro - Language Translation Guide
==========================================================

How to Change Plugin Language:
-------------------------------

Step 1: Understand the File Structure
--------------------------------------
The plugin uses 3 important files:
1. main.lua (Encrypted - DO NOT EDIT)
2. config.lua (User configuration - EDIT THIS)
3. en.lua (English strings - COPY AND TRANSLATE THIS)

Step 2: Change Language in config.lua
--------------------------------------
Open "config.lua" file in any text editor.
You will see only one line:

USER_LANGUAGE = "en"

Change "en" to your language code:
- For Urdu: USER_LANGUAGE = "ur"
- For Arabic: USER_LANGUAGE = "ar"  
- For Spanish: USER_LANGUAGE = "es"
- For French: USER_LANGUAGE = "fr"
- For your language: USER_LANGUAGE = "your_language_code"

Save the file.

Step 3: Create Your Language File
----------------------------------
1. Copy "en.lua" file
2. Rename it to match your language code:
   - For Urdu: "ur.lua"
   - For Arabic: "ar.lua"
   - For Spanish: "es.lua"

Step 4: Translate the Strings
-----------------------------
Open your language file (e.g., "ur.lua") in a text editor.
You will see lines like:

app_title = "WhatsApp Status Downloader Pro"
save_button = "Save"
delete_button = "Delete"

Translate ONLY the text inside quotes:
Example for Urdu:
app_title = "واٹس ایپ سٹیٹس ڈاؤنلوڈر پرو"
save_button = "محفوظ کریں"
delete_button = "حذف کریں"

IMPORTANT NOTES:
1. DO NOT change anything before "=" sign
2. DO NOT remove the quotes ""
3. DO NOT change variable names
4. Keep %s, %d symbols as they are (they will be replaced with numbers/text)

Step 5: Special Format Strings
-------------------------------
Some strings contain %s or %d which will be replaced dynamically:
- "File not found for action: %s" → "فائل نہیں ملی: %s"
- "Found %d files" → "%d فائلیں ملیں"

Translate the text but keep %s/%d in the same position.

Step 6: Restart the Plugin
---------------------------
After making changes to config.lua and your language file:
1. Close the plugin
2. Restart it
3. All text should now appear in your language

Common Language Codes:
----------------------
en - English
ur - Urdu
ar - Arabic  
es - Spanish
fr - French
de - German
ru - Russian
tr - Turkish
fa - Persian
hi - Hindi
bn - Bengali

Troubleshooting:
----------------
Q: Plugin still shows English?
A: Check that:
  1. config.lua has correct language code
  2. Your language file exists (e.g., "ur.lua")
  3. File names match exactly (case-sensitive)

Q: Some text still in English?
A: That text might be hardcoded. Check if it exists in your language file.

Q: Plugin shows errors?
A: Check for:
  1. Missing quotes ""
  2. Extra spaces before "="
  3. Syntax errors in your translation

Need Help?
----------
Contact developer for assistance with translations.

Example Complete Urdu Translation:
----------------------------------
To create Urdu version:
1. config.lua → USER_LANGUAGE = "ur"
2. en.lua → Copy → Rename to "ur.lua"
3. In ur.lua translate:
   app_title = "واٹس ایپ سٹیٹس ڈاؤنلوڈر پرو"
   save_button = "محفوظ کریں"
   close_button = "بند کریں"
   ... etc for all strings

Enjoy your translated plugin!